<template>
	<view class="container">
		<view class="top">
			<image class="order-img" src="/static/temp/icon_game.png" mode=""></image>
			<view class="order-name">
				云南甜玉米 水果玉米  云南甜玉米 水果玉米云南甜玉米 水果玉米  云南甜玉米 水果玉米云南甜玉米 水果玉米  云南甜玉米 水果玉米云南甜玉米 水果玉米  云南甜玉米 水果玉米
			</view>
			<view class="order-money">
				<view class="money"><text>￥</text>18</view>
				<view class="num">x1</view>
			</view>
		</view>
		<view class="option-box">
			<view class="title">
				请选择服务类型
			</view>
			<view class="option-item">
				<image class="ico" src="/static/img/user/icon_tuikuan.png" mode="widthFix"></image>
				<view class="text">
					<view>我要退款</view>
					<view>无需退货</view>
				</view>
				<view class="arrow">
					<view class="yticon icon-you"></view>
				</view>
				<!-- <image class="next" src="" mode=""></image> -->
			</view>
			<view class="option-item">
				<image class="ico" src="/static/img/user/icon_tuihuo.png" mode="widthFix"></image>
				<view class="text">
					<view>退货退款</view>
					<view>退还货物</view>
				</view>
				<view class="arrow">
					<view class="yticon icon-you"></view>
				</view>
				<!-- <image class="next" src="" mode=""></image> -->
			</view>
		</view>
	</view>
</template>

<script>

	export default {
		data () {
			return {
				
			}
		},
		methods: {
			submit() {
				uni.navigateTo({
					url: "refund"
				})
			}
		}
	}
	
</script>

<style lang="scss">
	.top {
		display: flex;
		margin: 20upx 50upx;
		
		.order-img {
			width: 190upx;
			height: 190upx;
			border-radius: 10upx;
			background-color: #e5e5e5;
		}
		
		.order-name {
			flex: 1;
			height: 100upx;
			font-size: 28upx;
			line-height: 50upx;
			margin: 0 60upx 0 34upx;
			display: -webkit-box;
		    overflow : hidden;
		    -webkit-line-clamp: 2;
		    -webkit-box-orient: vertical;
		}
		
		.order-money {
			text-align: right;
			
			.money {
				font-size: 36upx;
				
				text {
					font-size: 24upx;
				}
			}
			
			.num {
				font-size: 28upx;
				color: #ABADAD;
			}
		}
	}
	
	.option-box {
		padding-top: 20upx;
		
		.title {
			line-height: 88upx;
			font-size: 32upx;
			box-shadow: 0upx 1upx 0upx 0upx rgba(239,242,244,1);
			padding: 0 50upx;
			box-sizing: border-box;
		}
		
		.option-item {
			display: flex;
			padding: 20upx 50upx;
			box-sizing: border-box;
			vertical-align: middle;
			box-shadow: 0upx 1upx 0upx 0upx rgba(239,242,244,1);
			
			.ico {
				width: 50upx;
				height: 50upx !important;
				margin: 12upx 20upx 12upx 0;
			}
			
			.text {
				flex: 1;
				font-size: 28upx;
				line-height: 40upx;
				
				view:last-child {
					font-size: 24upx;
					color: #ABADAD;
				}
			}
			
			.arrow {
				display: flex;
				justify-content: center;
				align-items: center;
			}
		}
	}
	
</style>
